<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<style type="text/css">
.theme-popover {
	z-index:9999;
	position:fixed;
	top:50%;
	left:60%;
	width:360px;
	height:200px;
	margin:-180px 0 0 -330px;
	border-radius:5px;
	border:solid 2px #666;
	background-color:#fff;
	display:none;
	box-shadow: 0 0 10px #666;
}
.theme-poptit {
	border-bottom:1px solid #ddd;
	/* padding:12px; */
	line-height:12px;
	position: relative;
}
.theme-poptit .close {
	float:right;
	color:#999;
	padding:5px;
	margin:-2px -5px -5px;
	font:bold 14px/14px simsun;
	text-shadow:0 1px 0 #ddd
}
.theme-poptit .close:hover {
	color:#444;
}
.theme-signin{
	width:70%;
	margin:0 auto;
}
#jump_href{
	text-decoration:underline;
	font-size:14px;
	font-weight:bolder;
}
</style>
 <div class="theme-popover">
    <div class="theme-poptit">
         <a href="javascript:;" title="关闭" class="close">×&nbsp;&nbsp;</a>
         <h3 style="text-algin:center;">&nbsp;&nbsp;&nbsp;&nbsp;永川软件园人才网  服务小贴士</h3>
    </div>
    <div class="theme-signin">
        <h4><span id="jump_text">操作成功！</span>永川软件园人才网将在&nbsp; <span id="time">3</span>&nbsp;秒钟后自动跳转，如果未能跳转，
	 <a id="jump_href" href="" target="" title="点击访问">请点击&nbsp;&nbsp;</a>访问。</h4>
    </div>
 </div>
<script type="text/javascript"> 
	var text;
	var time;
	var jump_url;
	function delayURL(text,time,url) { 
		jump_url = url;
		$('.theme-popover').slideDown(200);
		$("#jump_text").html(text);
		$("#time").html(time);
		$("#jump_href").attr("href",url);
		var delay = document.getElementById("time").innerHTML;
		var t = setTimeout("delayURL(text,time,jump_url)", 1000);
		if(delay > 0){
		   delay--;
		   document.getElementById("time").innerHTML = delay;
		}else {
		    clearTimeout(t); 
		  	if(url){
			  	//window.open(url,'_blank');
				window.location.href = url; 
			}
			if(delay == 0){
				$('.theme-popover').slideUp(200);
			}
		} 
	} 
	$('.theme-poptit .close').click(function(){
		$('.theme-popover').slideUp(200);
		history.go(0);
	}); 
</script>
